package com.lib.mapper;

import com.lib.pojo.entity.AdminUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    //1:用户登录
    @Select("select * from admin where username = #{username} and password = #{password}")
    AdminUser selectUsernameOrPassword(AdminUser adminUser);
}
